home *** CD-ROM | disk | FTP | other *** search
- property ancestor, pLabelList
- global gCurrLabel, IconList1, IconList2, CreditList, gTourForwardArrow, firstTime
-
- on new me, buttonName, castName, theChannel, theStageLoc, descendant
- if objectp(descendant) then
- object = descendant
- else
- object = me
- end if
- ancestor = new(script("generic button"), buttonName, castName, theChannel, theStageLoc, object)
- pLabelList = MakeLabelList()
- return me
- end
-
- on performFunction me
- sound stop 1
- if marker(0) = label("3.3") then
- repeat with X = 5 to 12
- iconObj = getaProp(IconList2, X)
- outScope(iconObj)
- end repeat
- end if
- CurrPosition = getPos(pLabelList, gCurrLabel)
- PrevLabel = getAt(pLabelList, CurrPosition - 1)
- ResetForVideo()
- UnPuppetSprites()
- outScope(gTourForwardArrow)
- outScope(me._me)
- outScope(me._me)
- go(PrevLabel)
- return me
- end
-